<?php 
$secret_key ='';
$time=time();
$params = [
		'app_id' => '500658011',
		'timestamp' => $time
];
ksort($params);
foreach ($params as $key => $value) {
	$secret_key.= '&' . $key . '=' . $value;
}
$sign = md5($secret_key);

$url='https://openapi.mta.qq.com/wx/v1/analytics/machine?start_time=2019-11-02&end_time=2018-11-27&timestamp='.$time.'&app_id=500658011&sign='.$sign;
$data=file_get_contents($url);
var_dump($data);